<%--
  Created by IntelliJ IDEA.
  User: dong_
  Date: 2021/10/14
  Time: 13:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zxx">

<head>
    <title>login</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="/css/style.css" type="text/css" media="all" />
</head>
<body>
<section class="w3l-login">
    <div class="overlay">
        <div class="wrapper">
            <div class="form-section">
                <h3>登录</h3>
                <h6>登录就能查询</h6>
                <form action="${pageContext.request.contextPath }/user/login" method="post" class="signin-form">
                    <div class="form-input">
                        <input type="text" name="name" placeholder="用户名" required="" autofocus>
                    </div>
                    <div class="form-input">
                        <input type="password" name="password" placeholder="密码" required="">
                    </div>
                <%--    <label class="check-remaind">
                        <input type="checkbox">
                        <span class="checkmark"></span>
                        <p class="remember">记住我</p>
                    </label>--%>
                    <button type="submit" class="btn btn-primary theme-button mt-4">登录</button>
                    <div class="new-signup">
                        <p name="msg" class="signuplink" style="color:red;">${requestScope.msg}</p>
                    </div>
                </form>
                <p class="signup">还没有账户? <a href="/regist.jsp" class="signuplink">注册</a></p>
            </div>
        </div>
    </div>
    <div id='stars'></div>
    <div id='stars2'></div>
    <div id='stars3'></div>

    <!-- copyright -->
    <div class="copy-right">
        <p>&copy;版权所有Java2103王浩 <a href="http://w3layouts.com/" target="_blank">W3Layouts</a></p>
    </div>
    <!-- //copyright -->
</section>

<!-- /login form -->
</body>

</html>
